how to fix a slice